package cn.mxp.a01_singleton;

public enum Singleton05 {
    INSTANCE;

    // 单例对象
    private Object obj;

    private Singleton05() {
        obj = new Object();
    }

    public Object getInstance() {
        return obj;
    }
}
